home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 4_0 / FLIGHT / DEFINES.H next >
Text File  |  1990-01-26  |  304b  |  19 lines

  1. #define NOT        !
  2. #define AND        &&
  3. #define NEQ        !=
  4. #define EQ        ==
  5. #define OR        ||
  6. #define COMP    ~
  7. #define MOD        %
  8. #define SQ(x)    ((x)*(x))
  9. #define NIL        (0L)
  10.  
  11. #define ASCIItoNUM(x)    ((x)-48)
  12. #define NUMtoASCII(x)    ((x)+48)
  13.  
  14. char    *PtoCstr();
  15. char    *CtoPstr();
  16. #define    ptoc(x)        PtoCstr(x)
  17. #define    ctop(x)        CtoPstr(x)
  18.  
  19.